package net.lz1998.pbbot.utils;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;

import java.util.Calendar;
import java.util.HashMap;
import java.util.Map;

public class DateUtils {

	public static int getDay(){
		Calendar calendar=Calendar.getInstance();
		return calendar.get(Calendar.DAY_OF_WEEK)-1;
	}

	public static void main(String[] args) {
	/*	String s = HttpRequestUtils.doGet("http://api.bystart.cn//api/dog");
		JSONObject jsonObject = JSON.parseObject(s);
		if (jsonObject.getBoolean("success")) {
			String info = jsonObject.getJSONObject("result").getJSONObject("data").getString("content");
			System.out.println(info);
		}*/

		Map map = new HashMap<>();
		map.put(1, 1);
		map.put(1, 2);
		System.out.println(map);
	}
}
